package com.example.teatea.controller;

import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;

public class GoodListController {

    public ImageView image;
    public Label name;
    public Label price;

    public ImageView getImage() {
        return image;
    }

    public void setImage(Image image) {
        this.image.setImage(image);
    }

    public Label getName() {
        return name;
    }

    public void setName(String name) {
        this.name.setText(name);
    }

    public Label getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price.setText(String.valueOf(price));
    }
}
